{extend name="base" /}

{block name="title"}支付图片设置{/block}

{block name="main"}
	<!-- Content Wrapper. Contains page content -->
	<div class="content-wrapper">
		<!-- Content Header (Page header) -->
		<section class="content-header">
			<h1>支付图片设置 <small>英雄联盟</small></h1>
			<ol class="breadcrumb">
				<li><a href="/shuashuale"><i class="fa fa-home"></i> 首页</a></li>
				<li class="active">支付图片设置</li>
			</ol>
		</section>

		<!-- Main content -->
		<section class="content container-fluid">
      		<div class="box box-default">
				<div class="box-header with-border">
					<h3 class="box-title">支付图片设置</h3>
				</div>
				<form method="post" role="form" enctype="multipart/form-data">
					<!-- /.box-header -->
					<div class="box-body">
						<div class="row">
							{volist name="parameters" id="parameter" key="i"}
							<div class="form-group">
								{switch name="parameter.type"}
									{case value="5"}
										<div class="col-md-6">
											<label>{$parameter.name}</label>
											<input type="file" class="form-control" name="{$parameter.key}" value="{$parameter.value}" placeholder="{$parameter.name}">
											<span class="help-block">{$parameter.desc}</span>
										</div>
									{/case}
								{/switch}
							</div>
							<!-- /.form-group -->
							{/volist}
						</div>
						<!-- /.row -->
					</div>
					<!-- /.box-body -->
					<div class="box-footer">
						<button type="submit" class="btn btn-primary">修改参数</button>
					</div>
				</form>
			</div>
			<!-- /.box -->
		</section>
		<!-- /.content -->
	</div>
	<!-- /.content-wrapper -->
{/block}